#2D2F39

Color Details

HEX
#2D2F39
RGB
rgb(45, 47, 57)
HSL
hsl(230, 12%, 20%)
CMYK
cmyk(21%, 18%, 0%, 78%)
Best text on this color #FFFFFF (CR 13.31:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2D2F39 swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2D2F39

#2D2F39 converts to RGB(45, 47, 57) and HSL(230, 12%, 20%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2D2F39 FAQs

What is the RGB value of #2D2F39?
RGB: 45, 47, 57. Copy as CSS: rgb(45, 47, 57)
Is #2D2F39 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2D2F39?
Complement: #39372d.
Does #2D2F39 have good contrast on white or black?
On white: 13.31:1 (AAA (normal text)). On black: 1.58:1 (Fails AA).